{#if userData === null} Could not load user profile for @{data.username}.

Does this user exist? {:else if userData === undefined} Loading user ... 50% {:else}

@{userData.name} Badge Wall

{data.username} has watched {(userData.statistics.anime.minutesWatched / 60 / 24).toFixed( 1 )} days of anime and read {estimatedDayReading(userData.statistics.manga.chaptersRead).toFixed(1)} days of manga.

{data.username} has collected {#await fetch(`/api/badges?id=${userData.id}`)} ... {:then badges} {#await badges.json()} ... {:then badges} {badges.length} {:catch} ? {/await} {:catch} ? {/await} badges using Badge Wall.

{/if}